package com.jz.jingying.mapper.sqlServer;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.jz.jingying.bean.TBodychecklastrecord;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zyl
 * @since 2019-03-20
 */
public interface TBodychecklastrecordMapper extends BaseMapper<TBodychecklastrecord> {
    @Select("SELECT COUNT(*) FROM T_BodyCheckLastRecord ")
    int selectTBodychecklastrecordCount();
    List<TBodychecklastrecord> selectTBodychecklastrecord(@Param("pageSize") int pageSize, @Param("currentPage") int currentPage);

    List<TBodychecklastrecord> getBodyCheckLastRecord(TBodychecklastrecord bodyCheckLastRecord);
    void  addBodyCheckLastRecord(TBodychecklastrecord bodyCheckLastRecord);
    void  updateBodyCheckLastRecord(TBodychecklastrecord bodyCheckLastRecord);

}
